< previous page page_xviii next page >

Page xviii
to display four-dimensional surfaces. It also extends the transformations covered in previous chapters to higher dimensions.
Chapter 19, Mathematical Tools, describes some useful mathematical formulas. It summarizes the standard transformation matrices in two, three, and four dimensions.
Changes in the Second Edition
By far the biggest change in this edition is the way it handles color in the programs that support it. The first edition dealt almost exclusively with 8-bit, 256-color mode. As memory prices have continued to fall, this mode has become less important. Now it is relatively inexpensive to add more memory to a computer and run in 24-bit color mode.
The Second Edition takes advantage of this change and uses 24-bit color almost exclusively. It includes instructions for using other color modes, but 24-bit color is so much simpler that you should consider using it if you need to write advanced color applications.
Other changes in the Second Edition include:
A scrolled window control
Routines that quickly load and save the pixel values of images in a variety of advanced colors modes
Detailed discussion of text metrics so that you can determine exactly where text is positioned, normally or rotated
Expanded coverage of the Rich Text Box control, including a Rich Text editor
Printing routines to wrap text across lines and pages, preview printouts, and generate a high-resolution printout of a form automatically
Multipage print previews
New, faster methods for timing bitmap animations
Bitmap image morphing
High-degree polynomial curve fitting
New Z-order algorithm for hidden line removal in surfaces
Shaded fractal valley surface
Shading and ray tracing with multiple light sources
Gouraud and Phong shading
Ray tracing speed improvements
Checkerboard object
Textured and environment mapped objects
Formulas for calculating such values as the distance between a point and a line or between two lines
Derivation of Platonic solid vertices

 
< previous page page_xviii next page >